home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmSSSSccccrrrreeeeeeeennnn - The Screen widget class SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/Screen.h> VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The XmScreen object is used by Motif widgets to store information that is specific to a screen. It also allows the toolkit to store certain information on widget hierarchies that would otherwise be unavailable. Each client has one XmScreen object for each screen that it accesses. An XmScreen object is automatically created when the application creates the first shell on a screen (usually accomplished by a call to XXXXttttAAAAppppppppIIIInnnniiiittttiiiiaaaalllliiiizzzzeeee or XXXXttttAAAAppppppppCCCCrrrreeeeaaaatttteeeeSSSShhhheeeellllllll). It is not necessary to create an XmScreen object by any other means. An application can use the function XXXXmmmmGGGGeeeettttXXXXmmmmSSSSccccrrrreeeeeeeennnn to obtain the widget ID of the XmScreen object for a given screen. An application cannot supply initial values for XmScreen resources as arguments to a call to any function that creates widgets. The application or user can supply initial values in a resource file. After creating the first shell on the screen, the application can use XXXXmmmmGGGGeeeettttXXXXmmmmSSSSccccrrrreeeeeeeennnn to obtain the widget ID of the XmScreen object and then call XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss to set the XmScreen resources. CCCCllllaaaasssssssseeeessss Screen inherits behavior and resources from CCCCoooorrrreeee. The class pointer is _x_m_S_c_r_e_e_n_C_l_a_s_s. The class name is XXXXmmmmSSSSccccrrrreeeeeeeennnn. NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in an ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC prefix and use the remaining letters. To specify one of the defined values for a resource in an ....XXXXddddeeeeffffaaaauuuullllttttssssfile, remove the XXXXmmmm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss(S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is Page 1 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) not applicable (N/A). XXXXmmmmSSSSccccrrrreeeeeeeennnn RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss XmNbitmapConversionModel XmCBitmapConversionModel XtEnum XmPIXMAP CSG?? XmNcolorAllocationProc XmCColorAllocationProc XtProc NULL CSG?? XmNcolorCalculationProc XmCColorCalculationProc XtProc NULL CSG?? XmNdarkThreshold XmCDarkThreshold int dynamic C XmNdefaultCopyCursorIcon XmCDefaultCopyCursorIcon Widget NULL CSG XmNdefaultInvalidCursorIcon XmCDefaultInvalidCursorIcon Widget NULL CSG XmNdefaultLinkCursorIcon XmCDefaultLinkCursorIcon Widget NULL CSG XmNdefaultMoveCursorIcon XmCDefaultMoveCursorIcon Widget NULL CSG XmNdefaultNoneCursorIcon XmCDefaultNoneCursorIcon Widget NULL CSG XmNdefaultSourceCursorIcon XmCDefaultSourceCursorIcon Widget NULL CSG XmNdefaultValidCursorIcon XmCDefaultValidCursorIcon Widget NULL CSG XmNfont XmCFont XFontStruct * NULL CSG XmNforegroundThreshold XmCForegroundThreshold int dynamic C XmNhorizontalFontUnit XmCHorizontalFontUnit int dynamic CSG XmNinsensitiveStippleBitmap XmCinsensitiveStippleBitmap Bitmap "50_foreground" CSG XmNlightThreshold XmCLightThreshold int dynamic C XmNmenuCursor XmCCursor Cursor arrow C XmNmoveOpaque XmCMoveOpaque Boolean False CSG XmNunpostBehavior XmCUnpostBehavior unsigned char XmUNPOST_AND_REPLAY CSG XmNuseColorObject XmCUseColorObject Boolean False C XmNuserData XmCUserData XtPointer NULL CSG XmNverticalFontUnit XmCVerticalFontUnit int dynamic CSG XXXXmmmmNNNNbbbbiiiittttmmmmaaaappppCCCCoooonnnnvvvveeeerrrrssssiiiioooonnnnMMMMooooddddeeeellll Provides a policy for the conversion of xbm and xpm files to the PPPPiiiixxxxmmmmaaaapppptype. This resource takes the following values: XXXXmmmmMMMMAAAATTTTCCCCHHHH____DDDDEEEEPPPPTTTTHHHH From a supplied xbm or xpm file, generates a converted pixmap file having the same depth as the widget. XXXXmmmmDDDDYYYYNNNNAAAAMMMMIIIICCCC____DDDDEEEEPPPPTTTTHHHH Converts an input xbm file to a PPPPiiiixxxxmmmmaaaapppp of depth 1, or converts an input xpm file to a PPPPiiiixxxxmmmmaaaapppp having the same depth as the widget. XXXXmmmmNNNNccccoooolllloooorrrrAAAAllllllllooooccccaaaattttiiiioooonnnnPPPPrrrroooocccc Identifies the procedure to be used for color allocation. Normally, this procedure is an application-defined color allocation procedure. However, if no application-defined color allocation procedure is set, the system uses Motif's predefined color allocation procedure. XXXXmmmmNNNNccccoooolllloooorrrrCCCCaaaallllccccuuuullllaaaattttiiiioooonnnnPPPPrrrroooocccc Page 2 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) Identifies the procedure to be used for per-widget color calculation. Normally, this procedure is an application-defined color calculation procedure. However, if no application-defined color calculation procedure is set, the system uses Motif's predefined color calculation procedure. XXXXmmmmNNNNddddaaaarrrrkkkkTTTThhhhrrrreeeesssshhhhoooolllldddd An integer between 0 (zero) and 100, inclusive, that specifies a level of perceived brightness for a color. If the perceived brightness of the background color is below this level, Motif treats the background as "dark" when computing default shadow and select colors. If this resource is specified for a particular screen, it applies to widgets created on that screen; otherwise it applies to widgets created on all screens. The default value is implementation specific. XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttCCCCooooppppyyyyCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn Specifies the DragIcon used during a drag operation when the operation is a copy and no other pixmap is specified by the application. If this resource is NULL, a system default icon is used. The system default icon is determined by the Display resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeDDDDrrrraaaaggggIIIIccccoooonnnn. XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttIIIInnnnvvvvaaaalllliiiiddddCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn Specifies the DragIcon used to indicate that the cursor is over an invalid drop site during a drag operation when no other pixmap symbol is specified by the application. If this resource is NULL, a system default icon is used. The system default icon is determined by the Display resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeDDDDrrrraaaaggggIIIIccccoooonnnn. XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttLLLLiiiinnnnkkkkCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn Specifies the DragIcon used during a drag operation when the operation is a link and no other pixmap is specified by the application. If this resource is NULL, a system default icon is used. The system default icon is determined by the Display resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeDDDDrrrraaaaggggIIIIccccoooonnnn. XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttMMMMoooovvvveeeeCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn Specifies the DragIcon used during a drag operation when the operation is a move and no other pixmap is specified by the application. If this resource is NULL, a system default icon is used. The system default icon is determined by the Display resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeDDDDrrrraaaaggggIIIIccccoooonnnn. Page 3 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttNNNNoooonnnneeeeCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn Specifies the DragIcon used to indicate that the cursor is not over a drop site during a drag operation when no other pixmap is specified by the application. If this resource is NULL, a system default icon is used. The system default icon is determined by the Display resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeDDDDrrrraaaaggggIIIIccccoooonnnn. XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttSSSSoooouuuurrrrcccceeeeCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn Specifies the depth-1 pixmap used as a cursor when an XXXXmmmmNNNNssssoooouuuurrrrcccceeeeCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn is not provided by the DragContext, or it is not usable. If this resource is NULL, a system default icon is used. The system default icon is determined by the Display resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeDDDDrrrraaaaggggIIIIccccoooonnnn. XXXXmmmmNNNNddddeeeeffffaaaauuuullllttttVVVVaaaalllliiiiddddCCCCuuuurrrrssssoooorrrrIIIIccccoooonnnn Specifies the DragIcon used to indicate that the cursor is over a valid drop site during a drag operation when no other pixmap is specified by the application. If this resource is NULL, a system default icon is used. The system default icon is determined by the Display resource XXXXmmmmNNNNeeeennnnaaaabbbblllleeeeDDDDrrrraaaaggggIIIIccccoooonnnn. XXXXmmmmNNNNffffoooonnnntttt Specifies a font for use in computing values for XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt and XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt. When an application is initialized, this resource can be supplied in a resource file or through the standard command line options ----ffffnnnn, ----ffffoooonnnntttt, and ----xxxxrrrrmmmm. Note that this resource is used only for the calculation of the font unit values. To specify a font to be used to display text, use a widget's render table resource (XXXXmmmmNNNNrrrreeeennnnddddeeeerrrrTTTTaaaabbbblllleeee). XXXXmmmmNNNNffffoooorrrreeeeggggrrrroooouuuunnnnddddTTTThhhhrrrreeeesssshhhhoooolllldddd An integer between 0 (zero) and 100, inclusive, that specifies a level of perceived brightness for a color. If the perceived brightness of the background color is equal to or below this level, Motif treats the background as "dark" when computing the default foreground and highlight colors. If the perceived brightness of the background color is above this level, Motif treats the background as "light" when computing the default foreground and highlight colors. When the background is "dark," the default foreground and highlight is white; when the background is "light," the default foreground and highlight is black. If this resource is specified for a particular screen, it applies to widgets created Page 4 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) on that screen; otherwise, it applies to widgets created on all screens. The default value is implementation specific. XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt Specifies the horizontal component of the font units used by XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttUUUUnnnniiiittttssss, and is used to interpret the values of geometry resources when the XXXXmmmmNNNNsssshhhheeeellllllllUUUUnnnniiiittttTTTTyyyyppppeeee resource of VendorShell or the XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee resource of Gadget, Manager, or Primitive has the value _X_m_1_0_0_T_H__F_O_N_T__U_N_I_T_S. If no initial value is supplied for this resource, the default is computed from the font specified in XXXXmmmmNNNNffffoooonnnntttt. If no initial value is supplied for this resource or for XXXXmmmmNNNNffffoooonnnntttt, the default is 10. If a call to XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss specifies a value for XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt, this resource is set to that value. If a call to XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss specifies a value for XXXXmmmmNNNNffffoooonnnntttt but not for XXXXmmmmNNNNhhhhoooorrrriiiizzzzoooonnnnttttaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt, this resource is set to a value computed from the new XXXXmmmmNNNNffffoooonnnntttt. A horizontal font unit is derived from a font as follows: +o If the font has an _A_V_E_R_A_G_E__W_I_D_T_H property, the horizontal font unit is the _A_V_E_R_A_G_E__W_I_D_T_H property divided by 10. +o If the font has no _A_V_E_R_A_G_E__W_I_D_T_H property but has a _Q_U_A_D__W_I_D_T_H property, the horizontal font unit is the _Q_U_A_D__W_I_D_T_H property. +o If the font has no _A_V_E_R_A_G_E__W_I_D_T_H or _Q_U_A_D__W_I_D_T_H property, the horizontal font unit is the sum of the font structure's _m_i_n__b_o_u_n_d_s._w_i_d_t_hand _m_a_x__b_o_u_n_d_s._w_i_d_t_h divided by 2.3. XXXXmmmmNNNNiiiinnnnsssseeeennnnssssiiiittttiiiivvvveeeeSSSSttttiiiipppppppplllleeeeBBBBiiiittttmmmmaaaapppp Provides widgets with the bitmap to use when generating the insensitive visual. This bitmap is to be used as the stipple for the rendering of insensitive visuals. XXXXmmmmNNNNlllliiiigggghhhhttttTTTThhhhrrrreeeesssshhhhoooolllldddd An integer between 0 (zero) and 100, inclusive, that specifies a level of perceived brightness for a color. If the perceived brightness of the background color is above this level, Motif treats Page 5 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) the background as "light" when computing default shadow and select colors. If this resource is specified for a particular screen, it applies to widgets created on that screen; otherwise, it applies to widgets created on all screens. The default value is implementation specific. XXXXmmmmNNNNmmmmeeeennnnuuuuCCCCuuuurrrrssssoooorrrr Sets a variable that controls the cursor used whenever this application posts a menu. This resource can be specified only once at application startup time, either by placing it within a defaults file or by using the ----xxxxrrrrmmmm command line argument. For example: mmmmyyyyPPPPrrrroooogggg ----xxxxrrrrmmmm """"****mmmmeeeennnnuuuuCCCCuuuurrrrssssoooorrrr:::: aaaarrrrrrrroooowwww"""" The menu cursor can also be selected in the program through the function XXXXmmmmSSSSeeeettttMMMMeeeennnnuuuuCCCCuuuurrrrssssoooorrrr. The following list shows acceptable cursor names. If the application does not specify a cursor or if an invalid name is supplied, the default cursor (an arrow pointing up and to the right) is used. XXXX____ccccuuuurrrrssssoooorrrr _l_e_f_t_b_u_t_t_o_n _a_r_r_o_w llllllll____aaaannnngggglllleeee bbbbaaaasssseeeedddd____aaaarrrrrrrroooowwww____ddddoooowwwwnnnn llllrrrr____aaaannnngggglllleeee bbbbaaaasssseeeedddd____aaaarrrrrrrroooowwww____uuuupppp _m_a_n _b_o_a_t _m_i_d_d_l_e_b_u_t_t_o_n _b_o_g_o_s_i_t_y _m_o_u_s_e bbbboooottttttttoooommmm____lllleeeefffftttt____ccccoooorrrrnnnneeeerrrr _p_e_n_c_i_l bbbboooottttttttoooommmm____rrrriiiigggghhhhtttt____ccccoooorrrrnnnneeeerrrr _p_i_r_a_t_e bbbboooottttttttoooommmm____ssssiiiiddddeeee _p_l_u_s bbbboooottttttttoooommmm____tttteeeeeeee qqqquuuueeeessssttttiiiioooonnnn____aaaarrrrrrrroooowwww bbbbooooxxxx____ssssppppiiiirrrraaaallll rrrriiiigggghhhhtttt____ppppttttrrrr Page 6 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) cccceeeennnntttteeeerrrr____ppppttttrrrr rrrriiiigggghhhhtttt____ssssiiiiddddeeee _c_i_r_c_l_e rrrriiiigggghhhhtttt____tttteeeeeeee _c_l_o_c_k _r_i_g_h_t_b_u_t_t_o_n ccccooooffffffffeeeeeeee____mmmmuuuugggg rrrrttttllll____llllooooggggoooo _c_r_o_s_s _s_a_i_l_b_o_a_t ccccrrrroooossssssss____rrrreeeevvvveeeerrrrsssseeee ssssbbbb____ddddoooowwwwnnnn____aaaarrrrrrrroooowwww _c_r_o_s_s_h_a_i_r ssssbbbb____hhhh____ddddoooouuuubbbblllleeee____aaaarrrrrrrroooowwww ddddiiiiaaaammmmoooonnnndddd____ccccrrrroooossssssss ssssbbbb____lllleeeefffftttt____aaaarrrrrrrroooowwww _d_o_t ssssbbbb____rrrriiiigggghhhhtttt____aaaarrrrrrrroooowwww _d_o_t_b_o_x ssssbbbb____uuuupppp____aaaarrrrrrrroooowwww ddddoooouuuubbbblllleeee____aaaarrrrrrrroooowwww ssssbbbb____vvvv____ddddoooouuuubbbblllleeee____aaaarrrrrrrroooowwww ddddrrrraaaafffftttt____llllaaaarrrrggggeeee _s_h_u_t_t_l_e ddddrrrraaaafffftttt____ssssmmmmaaaallllllll _s_i_z_i_n_g ddddrrrraaaappppeeeedddd____bbbbooooxxxx _s_p_i_d_e_r _e_x_c_h_a_n_g_e _s_p_r_a_y_c_a_n _f_l_e_u_r _s_t_a_r _g_o_b_b_l_e_r _t_a_r_g_e_t _g_u_m_b_y _t_c_r_o_s_s hhhhaaaannnndddd1111 ttttoooopppp____lllleeeefffftttt____aaaarrrrrrrroooowwww hhhhaaaannnndddd2222 ttttoooopppp____lllleeeefffftttt____ccccoooorrrrnnnneeeerrrr _h_e_a_r_t ttttoooopppp____rrrriiiigggghhhhtttt____ccccoooorrrrnnnneeeerrrr _i_c_o_n ttttoooopppp____ssssiiiiddddeeee Page 7 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) iiiirrrroooonnnn____ccccrrrroooossssssss lllleeeefffftttt____ppppttttrrrr lllleeeefffftttt____ssssiiiiddddeeee ttttoooopppp____tttteeeeeeee lllleeeefffftttt____tttteeeeeeee _t_r_e_k uuuullll____aaaannnngggglllleeee _u_m_b_r_e_l_l_a uuuurrrr____aaaannnngggglllleeee _w_a_t_c_h xxxxtttteeeerrrrmmmm XXXXmmmmNNNNmmmmoooovvvveeeeOOOOppppaaaaqqqquuuueeee Specifies whether an interactive operation that moves a window, such as tearing off and dragging a tear-off menu or moving a window in MWM, displays an outline of the window or a representation of the window itself during the move. If the value is True, the operation displays a representation of the window during the move. If the value is False, the operation displays an outline of the window. XXXXmmmmNNNNuuuunnnnppppoooossssttttBBBBeeeehhhhaaaavvvviiiioooorrrr Specifies the behavior of an active menu posted in traversal mode when a subsequent menu button selection is made outside the posted menu. When the value is XXXXmmmmUUUUNNNNPPPPOOOOSSSSTTTT____AAAANNNNDDDD____RRRREEEEPPPPLLLLAAAAYYYY, the resource unposts the menu hierarchy and causes the server to replay the event to the window in which the pointer is located. When the value is XXXXmmmmUUUUNNNNPPPPOOOOSSSSTTTT, the resource unposts the hierarchy without replaying the event. _X_m_N_u_s_e_C_o_l_o_r_O_b_j_e_c_t Enables and disables the sharing of colors between widgets, and the dynamic changing of colors. A value of False disables this, and a value of True enables it. XXXXmmmmNNNNuuuusssseeeerrrrDDDDaaaattttaaaa Allows the application to attach any necessary specific data to the widget. This is an internally unused resource. XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt Specifies the vertical component of the font units used by XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttUUUUnnnniiiittttssss and used to interpret the values of geometry resources when the XXXXmmmmNNNNsssshhhheeeellllllllUUUUnnnniiiittttTTTTyyyyppppeeee resource of VendorShell or the XXXXmmmmNNNNuuuunnnniiiittttTTTTyyyyppppeeee resource of Gadget, Manager, or Page 8 (printed 10/3/02) XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSccccrrrreeeeeeeennnn((((3333XXXX)))) Primitive has the value _X_m_1_0_0_T_H__F_O_N_T__U_N_I_T_S. If no initial value is supplied for this resource, the default is computed from the font specified in XXXXmmmmNNNNffffoooonnnntttt. If no initial value is supplied for this resource or for XXXXmmmmNNNNffffoooonnnntttt, the default is 10. If a call to XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss specifies a value for XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt, this resource is set to that value. If a call to XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss specifies a value for XXXXmmmmNNNNffffoooonnnntttt but not for XXXXmmmmNNNNvvvveeeerrrrttttiiiiccccaaaallllFFFFoooonnnnttttUUUUnnnniiiitttt, this resource is set to a value computed from the new XXXXmmmmNNNNffffoooonnnntttt. A vertical font unit is derived from a font as follows: +o If the font has a _P_I_X_E_L__S_I_Z_E property, the vertical font unit is the _P_I_X_E_L__S_I_Z_E property divided by 1.8. +o If the font has no _P_I_X_E_L__S_I_Z_E property but has _P_O_I_N_T__S_I_Z_Eand _R_E_S_O_L_U_T_I_O_N__Y properties, the vertical font unit is the product of the _P_O_I_N_T__S_I_Z_E and _R_E_S_O_L_U_T_I_O_N__Y properties divided by 1400. +o If the font has no _P_I_X_E_L__S_I_Z_E, _P_O_I_N_T__S_I_Z_E, or _R_E_S_O_L_U_T_I_O_N__Y properties, the vertical font unit is the sum of the font structure's _m_a_x__b_o_u_n_d_s._a_s_c_e_n_t and _m_a_x__b_o_u_n_d_s._d_e_s_c_e_n_t divided by 2.2. IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss All of the superclass resources inherited by XXXXmmmmSSSSccccrrrreeeeeeeennnn are designated N/A (not applicable). RRRREEEELLLLAAAATTTTEEEEDDDD CCCCoooorrrreeee(3), XXXXmmmmDDDDiiiissssppppllllaaaayyyy(3), XXXXmmmmGGGGeeeettttXXXXmmmmSSSSccccrrrreeeeeeeennnn(3), and XXXXmmmmSSSSeeeettttMMMMeeeennnnuuuuCCCCuuuurrrrssssoooorrrr(3), Page 9 (printed 10/3/02)